package com.rightsidetech.trade.dtos.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class TdCommodityStoreOrderDetailResp implements Serializable {

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("下单时间")
    private Date createdAt;

    @ApiModelProperty("接单时间")
    private Date receiveTime;

    @ApiModelProperty("取消时间")
    private Date cancelAt;

    @ApiModelProperty("订单备注")
    private String remarks;

    @ApiModelProperty("用户姓名")
    private String usName;

    @ApiModelProperty("用户id")
    private Long userInfoId;

    @ApiModelProperty("用户地址")
    private String usAddress;

    @ApiModelProperty("用户头像")
    private String headImg;

    @ApiModelProperty("付款时间")
    private Date payTime;

    @ApiModelProperty("总价金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("折扣优惠")
    private BigDecimal discountAmount;

    @ApiModelProperty("实际金额")
    private BigDecimal actualAmount;

    @ApiModelProperty("订单状态,  0-待付款,1-已支付(用户)/待接单,  2-已支付(用户)/已完成, 3-待接单售后申请，4-售后申请, 5-已退款, -1-取消订单, -2-驳回申请")
    private Byte orderStatus;

    @ApiModelProperty("订单类型, 0-上门服务, 1-到店自取")
    private Byte orderType;

    @ApiModelProperty("完成时间")
    private Date finishTime;

    @ApiModelProperty("用户手机号")
    private String usPhoneNo;

    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("纬度")
    private BigDecimal latitude;

    @ApiModelProperty("门店id")
    private Long storeId;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("门店头像")
    private String storeImage;

    @ApiModelProperty("联系方式")
    private String connectWay;

    @ApiModelProperty("申请时间")
    private Date applyAt;

    @ApiModelProperty("处理时间")
    private Date checkedAt;

    @ApiModelProperty("用户备注")
    private String reason;

    @ApiModelProperty(value = "商品列表")
    private List<TdCommodityAppOrderDetailResp> list;

}
